package jp.co.sn.mml.pojo.tslock;

import jp.co.sn.mml.pojo.tslock.TslockId;
import jp.co.sn.mml.pojo.tsprogram.Tsprogram;
import java.util.Date;

public class Tslock implements java.io.Serializable { 

	//id
	private TslockId id;
	//プログラムID
	private Tsprogram programId;
	//更新日時
	private Date updTime;
	//更新端末
	private String updPcNm;
	//更新者
	private String updTanNm;

	/** default constructor */
	public Tslock(){

	}

	/** minimal constructor */
	public Tslock(TslockId id){
		this.id = id;
	}

	/** full constructor */
	public Tslock(TslockId id,Tsprogram programId,Date updTime
			,String updPcNm,String updTanNm){
		this.id = id;
		this.programId = programId;
		this.updTime = updTime;
		this.updPcNm = updPcNm;
		this.updTanNm = updTanNm;
	}

	//Property accessors
	public TslockId getId(){
		return this.id;
	}

	public void setId(TslockId id){
		this.id=id;
	}

	public Tsprogram getProgramId(){
		return this.programId;
	}

	public void setProgramId(Tsprogram programId){
		this.programId=programId;
	}

	public Date getUpdTime(){
		return this.updTime;
	}

	public void setUpdTime(Date updTime){
		this.updTime=updTime;
	}

	public String getUpdPcNm(){
		return this.updPcNm;
	}

	public void setUpdPcNm(String updPcNm){
		this.updPcNm=updPcNm;
	}

	public String getUpdTanNm(){
		return this.updTanNm;
	}

	public void setUpdTanNm(String updTanNm){
		this.updTanNm=updTanNm;
	}

}